package com.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * @author kkk
 * @date 2022/7/26
 */
@Data
public class SearchParam {
    /**
     * 全文搜索关键字
     */
    private String keyword;
    /**
     * 三级分类id
     */
    private Long catalog3Id;
    /**
     * 排序条件
     * sort=saleCount_desc/asc
     * sort=skuPrice_desc/asc
     * sort=hotScore_desc/asc
     */
    private String sort;
    /**
     * 是否有货  0/1
     */
    private Integer hasStock;
    /**
     * 价格区间查询
     * 1_500 / _500 / 500_
     */
    private String skuPrice;
    /**
     * 品牌id
     */
    private List<Long> brandId;
    /**
     * attrs=1_黑色;白色
     */
    private List<String> attrs;
    /**
     * 页码
     */
    private Integer pageNum = 1;
}
